#ifndef __TDRAWREDUCER_H__
#define __TDRAWREDUCER_H__

class TGiWorldDraw;
class TDrawReducer
{
public:

	TDrawReducer(MSXML2::IXMLDOMElementPtr pXML){m_pXML = pXML;};
	~TDrawReducer(void);

	void DrawReducer(TGiWorldDraw& dc);
protected:
	void DrawReducerOfC(TGiWorldDraw& dc);
	void DrawReducerOfP(TGiWorldDraw& dc);
	void DrawReducerOfT(TGiWorldDraw& dc);

	void DrawDifROfC(TGiWorldDraw& dc);
	void DrawNorDifROfC(TGiWorldDraw& dc);
	void DrawOffDifROfC(TGiWorldDraw& dc);

	//void DrawDifROfT(TGiWorldDraw& dc){};
	void DrawNorDifROfT(TGiWorldDraw& dc);
	void DrawOffDifROfT(TGiWorldDraw& dc);

	void DrawCube(TGiWorldDraw &dc,const AcGeVector3d &vtDir, const AcGePoint3dArray &ptArr, double dThick) const;
private:
	MSXML2::IXMLDOMElementPtr m_pXML;
};

#endif